package com.qf.service.impl;

import com.qf.entity.Brand;
import com.qf.mapper.PhoneBrandMapper;
import com.qf.service.BrandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BrandServiceImpl implements BrandService {

    @Autowired
    private PhoneBrandMapper mapper;
    @Override
    public List<Brand> selectByCatId(String catID) {
        return mapper.findByCatId(catID);

    }
}
